package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 爬塔实体对象 tower
 * 
 * @author ruoyi
 * @date 2024-08-31
 */
public class Tower extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Integer id;

    /** 门槛 */
    @Excel(name = "门槛")
    private BigDecimal menkan;

    /** 利润 */
    @Excel(name = "利润")
    private BigDecimal profit;

    /** 塔层数 */
    @Excel(name = "塔层数")
    private Integer level;

    /** 塔状态 0下架 1上架 */
    @Excel(name = "塔状态 0下架 1上架")
    private Integer status;

    /** 商品封面图 */
    @Excel(name = "商品封面图")
    private String imgUrl;

    /** 排序值 */
    @Excel(name = "排序值")
    private Integer sort;

    /** 门票价格 */
    @Excel(name = "门票价格")
    private BigDecimal price;

    /** 塔热度 */
    @Excel(name = "塔热度")
    private Integer hotkey;

    /** 区间 如果设置为 0 则表示不设置区间 有数字则表示间隔多少发出一次额外奖 */
    @Excel(name = "区间 如果设置为 0 则表示不设置区间 有数字则表示间隔多少发出一次额外奖")
    private Integer goodsInterval;

    /** 是否显示 默认0 不公开显示 */
    @Excel(name = "是否显示 默认0 不公开显示")
    private Integer ifPublicShow;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 盈利百分比 */
    @Excel(name = "盈利百分比")
    private BigDecimal discount;

    private Integer nowLevel;

    public Integer getNowLevel() {
        return nowLevel;
    }

    public void setNowLevel(Integer nowLevel) {
        this.nowLevel = nowLevel;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setMenkan(BigDecimal menkan) 
    {
        this.menkan = menkan;
    }

    public BigDecimal getMenkan() 
    {
        return menkan;
    }
    public void setProfit(BigDecimal profit) 
    {
        this.profit = profit;
    }

    public BigDecimal getProfit() 
    {
        return profit;
    }
    public void setLevel(Integer level) 
    {
        this.level = level;
    }

    public Integer getLevel() 
    {
        return level;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setHotkey(Integer hotkey) 
    {
        this.hotkey = hotkey;
    }

    public Integer getHotkey() 
    {
        return hotkey;
    }
    public void setGoodsInterval(Integer goodsInterval) 
    {
        this.goodsInterval = goodsInterval;
    }

    public Integer getGoodsInterval() 
    {
        return goodsInterval;
    }
    public void setIfPublicShow(Integer ifPublicShow) 
    {
        this.ifPublicShow = ifPublicShow;
    }

    public Integer getIfPublicShow() 
    {
        return ifPublicShow;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setDiscount(BigDecimal discount) 
    {
        this.discount = discount;
    }

    public BigDecimal getDiscount() 
    {
        return discount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("menkan", getMenkan())
            .append("profit", getProfit())
            .append("level", getLevel())
            .append("status", getStatus())
            .append("imgUrl", getImgUrl())
            .append("sort", getSort())
            .append("price", getPrice())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("hotkey", getHotkey())
            .append("goodsInterval", getGoodsInterval())
            .append("ifPublicShow", getIfPublicShow())
            .append("title", getTitle())
            .append("discount", getDiscount())
            .toString();
    }
}
